package www.lagou.entity;

/**
 * 手机信息类
 *
 * @author Shuxian Huang
 */
public class Phone {

    private Integer id;

    /**
     * 手机名称
     */
    private String pName;
    /**
     * 手机单价
     */
    private double price;
    /**
     * 生产日期
     */
    private String proDate;
    /**
     * 颜色
     */
    private String color;

    public Phone() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProDate() {
        return proDate;
    }

    public void setProDate(String proDate) {
        this.proDate = proDate;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "id=" + id +
                ", pName='" + pName + '\'' +
                ", price=" + price +
                ", date='" + proDate + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
